<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    
    <title>联系我们</title>
    
	
	<link href="../css/main.css" rel="stylesheet" type="text/css" media="all">
	<style>
		#formsug{

			position: absolute;
			left: 37%;
			top: 30%;
		}
		#div_button{
			position: relative;
			left: 30%;
			top: 45px;
		}
		#title{
			position: relative;
			bottom: 30px;
			left: 5%;
			font-size: 32px;
			letter-spacing: 16px;
			color:#1E90FF;
		}
		#buttonsug{

			letter-spacing: 6px;
		color:rgb(0, 0, 0);
		font-size:16px;
		padding-top:10px;
		padding-bottom:10px;
		padding-left:25px;
		padding-right:25px;
		border-width:0px;
		border-color:rgb(197, 229, 145);
		border-style:solid;
		background-color:rgb(87, 217, 250);
		border-radius:4px
		}
		#buttonsug:hover{
		color:#ffffff;
		background-color:#78c300;
		border-color:#c5e591;
		cursor:hand;
		}
</style>
<script type="text/javascript">
function subm(){
	var s=document.getElementById("sug");
	if(s.value==""){
	alert("建议不能为空！");
	return ;
	}
	if(s.value.length>=255){
	alert("建议不能超过255个字符");
	return;
	}
	document.getElementById("formsug1").submit();
}
</script>
  </head>
  
  <body>
  <%@include file="header.jsp" %>
	<div id="formsug">
		<h1 id="title">意见反馈</h1>
		<form action="${pageContext.request.contextPath }/servlet/Contactus" method="post" name="formsug1" id="formsug1">
			<div>
				<textarea name="sug"  id="sug" cols="40" rows="10"></textarea>
			</div>
			<div id="div_button">
				<input type="button" value="提交" id="buttonsug" onclick="subm()">
			</div>
		</form>
	</div>
</body>
</html>
